{#{% extends 'Base/main.content.lists.div.html.twig' %}#}
{#{% import 'Base/list_item.twig' as listItem %}#}
{% extends 'Back/Sano/list.creator.html.twig' %}
{% import 'Back/Sano/list.item.twig' as listItem %}
{#默认不能删除和新增#}
{% block addBtn %}{% endblock %}
{#{% block delBtn %}{% endblock %}#}
{% block tableHead %}
    <tr>
        <th align="" width="5%">选择</th>
        <th align="" width="">店铺名</th>
        <th align="" width="">企业名称</th>
        <th align="" width="">统一社会信用代码</th>
        <th align="" width="">营业执照</th>
        <th align="" width="">提交时间</th>
{#        <th align="" width="">{{config.expireAt.label}}</th>#}
        <th align="" width="">认证状态</th>
        <th align="" width="">审核信息</th>
        <th align="center" width="8%">操作</th>
    </tr>
{% endblock %}
{% block tableList %}
    {% for Entity in lists %}
        <tr>
            <td align='' width=''>
                <span class="checkall"><input lay-skin="primary" type="checkbox" name="ids[]" value="{{ Entity.id }}"/></span>
            </td>
            <td align='' width='' id='shop_{{ Entity.id }}'>
                {{ listItem.text('shop',Entity.shop,Entity.id) }}
            </td>
            <td align='' width='' id='name_{{ Entity.id }}'>
                {{ listItem.text('name',Entity.name,Entity.id) }}
            </td>
            <td align='' width='' id='code_{{ Entity.id }}'>
                {{ listItem.text('code',Entity.code,Entity.id) }}
            </td>
            <td align='' width='' id='pic_{{ Entity.id }}'>
                {{ listItem.pic('pic',Entity.pic,Entity.id) }}
            </td>
            <td align='' width='' id='createAt_{{ Entity.id }}'>
                {{ listItem.day('createAt',Entity.createAt,Entity.id) }}
            </td>
            <td align='' width='' id='expireAt_{{ Entity.id }}'>
                {{ listItem.day('expireAt',Entity.expireAt,Entity.id) }}
            </td>
            <td align='' width='' id='status_{{ Entity.id }}'>
                {{ Entity.status == 0 ? "等待处理":"" }}
                {{ Entity.status == 1 ? "通过":"" }}
                {{ Entity.status == 2 ? "驳回":"" }}
            </td>
            <td align='' width='' id='message_{{ Entity.id }}'>
                {{ listItem.text('message',Entity.message,Entity.id) }}
            </td>
            <td align='' width=''>
                {{ listItem.edit('ShopAuth','',Entity.id) }}
            </td>
        </tr>
    {% endfor %}
{% endblock %}
{% block script %}
{% endblock %}

